package priv.lhy.activity.commons;

import java.io.Serializable;

/**
 * author : lihy
 * date : 2019/2/15 14:02
 *
 * 统一的返回结果
 * @param <T>
 */
public class ResultResp<T> implements Serializable {
    private static final long serialVersionUID = 7943757653499814899L;

    //返回码
    private ReturnCodeEnum returnCodeEnum;

    //某个具体类
    private T result;

    public ReturnCodeEnum getReturnCodeEnum() {
        return returnCodeEnum;
    }

    public void setReturnCodeEnum(ReturnCodeEnum returnCodeEnum) {
        this.returnCodeEnum = returnCodeEnum;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
